(ns ura.Header
  (:require
   [reagent.core :as r]
   [reagent.dom :as rd]

   [ura.style :refer [attr]]
   ))

(defn header [reset-home]
  [:div (attr :flex :jc-b :align-items=center :w=100% :h=100% :p=0:12px)
   [:div ;;left
    [:span (attr :font-size=24px {:on-click reset-home}) "用户权限管理系统"]
    ]
   
   [:div (attr :flex :gap=5px)
    ;;[icon (sx :cursor--pointer :fs--24px) :person]
    [:span (attr :font-size=20px :color=gray-800) "admin"]
    ]
   ]
  )
